import java.util.Scanner;public class Lianxi3 {


        public static void main(String[] args) {
        System.out.println("请输入4位数年号:");
        Scanner input =new Scanner(System.in);
        String rs="平年";
        int year =input.nextInt();
        if (year%4==0){
            rs="闰年";
        }
        if (year%100==0 ){
            rs="平年";
        }if (year%400==0){
            rs="闰年";
        }

        System.out.println(rs);

    }
}
